<?php
require_once PATH_SITE.'cn/royan/php/values/ServerUser.class.php';
require_once PATH_SITE.'cn/royan/php/utils/builders/Builder.class.php';
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BuilderUser
 *
 * @author yanr
 */
class BuilderUser extends Builder
{
    //put your code here
    public function __construct($value) {
        $this->config = $value;
    }
    
    public function build()
    {
        $this->obj = new ServerUser();
        $this->obj->__set( "serverId",      $this->config["serverId"] );
        $this->obj->__set( "screenname",    $this->config["screenname"] );
        $this->obj->__set( "socket",        $this->config["socket"] );
        $this->obj->__set( "host",          $this->config["host"] );
        
        RETURN parent::build();
    }
}

?>
